package com.designpatterns.singleton.register;

import java.lang.reflect.Constructor;

/**
 * @author Tinu 1810989@qq.com
 */
//枚举单例
public enum  EnumSingleton {
    INSTANCE;

    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EnumSingleton getInstance() {
        return INSTANCE;
    }

}
